package com.dcy.znoa.domain.sys;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * URL节点表
 * @author chenjie
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("sys_url_list")
public class UrlList {
	
	@TableId(type = IdType.AUTO, value = "url_id")
    Long urlId;
	
	@TableField("url_name")
	private String urlName;

	@TableField("url_path")
	private String urlPath;

	@TableField("url_level")
	private Integer urlLevel;  //0左侧菜单  1页面  2按钮

	@TableField("pre_url_id")
	private Long preUrlId;

	@TableField("pre_url_name")
	private String preUrlName;

	@TableField("valid_flag")
	private Integer validFlag;

	@TableField("is_leaf")
	private Integer isLeaf;

	@TableField("sort_col")
	private Integer sortCol;

	@TableField("icon")
	private String icon;

	@TableField("belong")   
	private Integer belong;  //0公用  1园区  2企业

}
